| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Frustum.h
1 // Frustum.h
3 //
5
6 namespace nkGraphics
7 {
15 class Frustum final
16 {
17 public :
18
19 // Constructor, destructor
23 Frustum () noexcept ;
29 Frustum (const Frustum& other) noexcept ;
33 ~Frustum () ;
34
35 // Getters
42 const nkMaths::Vector& getPlane (unsigned int index) const ;
43
44 // Setters
51 void setPlane (const nkMaths::Vector& plane, unsigned int index) ;
52
53 // Construction
57 void buildFrustum (const nkMaths::Matrix& viewMat, const nkMaths::Matrix& projMat) ;
58
59
60 } ;
61 }
nkGraphics::Frustum::setPlane
void setPlane(const nkMaths::Vector &plane, unsigned int index)
nkMaths
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
nkGraphics::Frustum::getPlane
const nkMaths::Vector & getPlane(unsigned int index) const
nkGraphics::Frustum::buildFrustum
void buildFrustum(const nkMaths::Matrix &viewMat, const nkMaths::Matrix &projMat)
nkGraphics::Frustum
Defines a frustum.
Definition: Frustum.h:16
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Frustum::Frustum
Frustum() noexcept